package pharao.client;

import hmvc4gwt.client.event.IHmvcEvent;
import hmvc4gwt.framework.client.modul.ModulController;

import com.google.gwt.user.client.History;

import pharao.client.views.navigation.PharaoNavigationController;
import pharao.client.views.navigation.PharaoNavigationModel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Pharao extends ModulController {

	public void initImpl() {
		/*
		 * PharaoNavigationController starten
		 */
		addChildComponent(new PharaoNavigationController(),
				new PharaoNavigationModel());

		History.newItem(PharaoNavigationModel.linkIndex);
	}

	public Class getClassOfObject() {
		return Pharao.class;
	}

	public void handleEventImpl(IHmvcEvent event) {
		// TODO Auto-generated method stub

	}

	public void terminate() {
		// TODO Auto-generated method stub

	}
}
